package com.sunyard.dal.bo.device.lock;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 添加锁请求参数
 *
 * @author guangw.dang
 * @Date: 2022/6/29 17:01
 */
@ApiModel
@Data
public class LockAddBO implements Serializable {

    private static final long serialVersionUID = -251296116011050302L;

    /**
     * 锁名称
     */
    @NotBlank(message = "锁名称不能为空")
    @ApiModelProperty(value = "锁名称")
    private String lockName;

    /**
     * 机构ID
     */
    @NotBlank(message = "所属机构ID不能为空")
    @ApiModelProperty(value = "所属机构ID")
    private String orgId;

    /**
     * 锁类型 1主管锁 2柜员锁 3柜员通锁
     */
    @NotBlank(message = "锁类型不能为空")
    @ApiModelProperty(value = "锁类型 1主管锁 2柜员锁 3柜员通锁")
    private String lockType;

    /**
     * 柜员id
     */
    @ApiModelProperty(value = "柜员id 锁种类选择2柜员锁时必填")
    private String employeeId;

    /**
     * 锁场景
     */
    @NotBlank(message = "锁场景不能为空")
    @ApiModelProperty(value = "锁场景")
    private String missionType;

    /**
     * 日志翻转 1不翻转 2翻转
     */
    @NotBlank(message = "日志翻转不能为空")
    @ApiModelProperty(value = "日志翻转 1不翻转 2翻转")
    private String reversion;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 审核状态 0待复核 1已复核
     */
    @NotBlank(message = "审核状态不能为空")
    @ApiModelProperty(value = "审核状态 0待复核 1已复核 当异步审核是为0，当同步审核时为1")
    private String isCheck;

    /**
     * 指派人
     */
    @NotBlank(message = "指派人不能为空")
    @ApiModelProperty(value = "指派人，不限制时填0")
    private String adminId;

    /**
     * 锁名称
     */
    @NotBlank(message = "锁编号")
    @ApiModelProperty(value = "锁编号")
    private String lockSn;


}
